package cn.yangliu.operation.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 作者 杨柳
 * 创建时间 2017-08-25 23:52
 */
public class DefaultOperation implements Serializable,Operation<Long>{

    private Long id;

    protected String operator;//操作人名称

    protected String host;//操作人主机

    protected LocalDateTime oprateTime; //操作时间

    protected String module;//操作模块

    protected String action;//行为

    protected Boolean operateStatus=true; //操作状态

    protected String operateLevel;//操作等级

    protected String serverMethod;//操作

    protected String params;//操作时提交的参数

    protected String operatorId;//操作人ID

    protected String remark;

    protected String applicationName; //应用名称

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public LocalDateTime getOprateTime() {
        return oprateTime;
    }

    public void setOprateTime(LocalDateTime oprateTime) {
        this.oprateTime = oprateTime;
    }

    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public boolean getOperateStatus() {
        return operateStatus;
    }

    public void setOperateStatus(boolean operateStatus) {
        this.operateStatus = operateStatus;
    }

    public String getOperateLevel() {
        return operateLevel;
    }

    public void setOperateLevel(String operateLevel) {
        this.operateLevel = operateLevel;
    }

    public String getServerMethod() {
        return serverMethod;
    }

    public void setServerMethod(String serverMethod) {
        this.serverMethod = serverMethod;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    @Override
    public String getApplicationName() {
        return applicationName;
    }

    @Override
    public void setApplicationName(String applicationName) {
        this.applicationName=applicationName;
    }
}
